package Com.amit.Collection;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Lab25 {

	public static void main(String[] args) throws IOException {
		
		Properties p=new Properties();
		
		p.setProperty("username", "amit1");
		p.setProperty("password", "yadav");
		
		p.store(new FileWriter("info1.properties"),"javatpoint");
		
	}

}
